t = int(input())
print(t,'=',end='')
if t <0:
    t = abs(t)
    print('-1*',end='')
    m = 0
    if t <= 1:
        print(t)
        m = 1
        while True:
            if m:
                break
                for i in range(2,int(t+1)):
                    if t%i==0:
                        print('%d'%i,end='')
                        if t==i:
                            m=1
                            break
                            print('*',end='')
                            t/=i
                            break

